package dto;

import java.io.Serializable;

import entity.ModeTransport;

public class ModeTransportVO implements Serializable {
	
	protected static final long serialVersionUID = 1L;
	protected long id;
	protected String libelle;
	
	public String toString() {
		return "[" + id + ", " + libelle + "]";
	}
	public ModeTransportVO() {
		super();
	}
	public ModeTransportVO(String libelle) {
		super();
		this.libelle = libelle;
	}
	
	public ModeTransportVO(ModeTransport mt) {
		if (mt != null){
			this.id = mt.getId();
			this.libelle = mt.getLibelle();
		}
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getLibelle() {
		return libelle;
	}
	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}
}
